<html lang="zh">
<head>
    <meta charset="UTF-8"/>
    <link rel="icon" href="/favicon.ico"/>
    <title>ANI-RSS</title>
    <meta name="robots" content="noindex">
    <meta name="description" content="${text}"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
</head>
<body>
<div class="container">
    <h2>${text}</h2>
</div>
</body>
<style>
    .container {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dark {
        color: rgb(207, 211, 220);
        background-color: rgb(45, 46, 47);
    }
</style>
<script>
    let changeToDark = () => {
        document.documentElement.classList.toggle('dark');
    }

    (() => {
        let color = localStorage.getItem('vueuse-color-scheme');
        if (!color) {
            return
        }

        if (color === 'auto') {
            const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
            if (isDarkMode) {
                changeToDark();
            }
            return;
        }

        if (color === 'dark') {
            changeToDark();
        }
    })()
</script>
</html>
